package com.cos.students.dao;

import com.cos.students.entity.RcTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cos.students.vo.input.SearchChoseCourseVO;
import com.cos.students.vo.output.CourseTimeTableVo;
import com.cos.students.vo.output.StudentScoreVo;
import com.cos.students.vo.output.TeacherCourseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cos
 * @since 2022-10-24
 */
public interface RcTeacherMapper extends BaseMapper<RcTeacher> {

    List<TeacherCourseVo>  getTeacherCourse(@Param("userId") Integer userId);

    List<CourseTimeTableVo> showTeacherCourseTimeTable(@Param("userId") Integer userId);

    List<StudentScoreVo> searchStudentScore(SearchChoseCourseVO vo);
}
